package com.zjgsu.coursecalendar.repository;

import com.zjgsu.coursecalendar.model.HomeworkUser;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HomeworkUserRespository extends CrudRepository<HomeworkUser,Integer> {
    public List<HomeworkUser> findHomeworkUsersByHomeworkId(Integer homeworkId);
}
